/*
 * helpers.h
 *
 *  Created on: Sep 18, 2011
 *      Author: andrew
 */

#ifndef HELPERS_H_
#define HELPERS_H_

#include <iostream>
#include "cv.h"


using namespace std;
using namespace cv;

String getRelativePath(String programPath);
void loadImages(String progPath, String leftImageName, String rightImageName, Mat* imgRight, Mat* imgLeft);
int ssdValue(Mat templ, Mat image, int r, int c);
Mat fromChannel(Mat mat, int channel);
void scaleVals(cv::Mat mat, float scaleFactor);
Point2i bestMatch(Mat templ, Mat image);

#endif /* HELPERS_H_ */
